package com.spic.business.riskbase.hierarchy.service;

import java.util.List;
import com.spic.business.riskbase.hierarchy.domain.RiskDescription;

/**
 * riskDescriptionService接口
 * 
 * @author ruoyi
 * @date 2023-04-14
 */
public interface IRiskDescriptionService 
{
    /**
     * 查询riskDescription
     * 
     * @param id riskDescription主键
     * @return riskDescription
     */
    public RiskDescription selectRiskDescriptionById(Long id);

    /**
     * 查询riskDescription列表
     * 
     * @param riskDescription riskDescription
     * @return riskDescription集合
     */
    public List<RiskDescription> selectRiskDescriptionList(RiskDescription riskDescription);

    /**
     * 新增riskDescription
     * 
     * @param riskDescription riskDescription
     * @return 结果
     */
    public int insertRiskDescription(RiskDescription riskDescription);

    /**
     * 修改riskDescription
     * 
     * @param riskDescription riskDescription
     * @return 结果
     */
    public int updateRiskDescription(RiskDescription riskDescription);

    /**
     * 批量删除riskDescription
     * 
     * @param ids 需要删除的riskDescription主键集合
     * @return 结果
     */
    public int deleteRiskDescriptionByIds(Long[] ids);

    /**
     * 删除riskDescription信息
     * 
     * @param id riskDescription主键
     * @return 结果
     */
    public int deleteRiskDescriptionById(Long id);

    int deleteRiskDescriptionByDangerSource(Long id);

    int batchRiskDescription(List<RiskDescription> list);
}
